import request from '@/util/requestm'

export default {

    search(page,pageSize,data){
        return request({
            url:`/order/search/${page}/${pageSize}`,
            method:"post",
            data
        })
    },

    save(url,method,data){
        return request({
            url,
            method,
            data
        })
    },
    delete(oids){
        return request({
            url: `/order/delete/${oids}`,
            method: 'delete',

        })
    }
}
